package com.ruoyi.bus.mapper;

import java.util.List;
import java.util.Map;

/**
 * @Description
 * @Author caiyanshan
 * @Date 2021/6/3 14:50
 * @Param
 * @Return
 */
public interface DataMapper {
  
  int getRouteCount();
  
  int getBusCount();
  
  int getDriverCount();
  
  int getUserCount();
  
  int getPlanCountByDays();
  
  int getUserNotRegister();
  
  int getTodayAppointCount();
  
  int getTodayAppointOverCount();
  
  int getPlanCountOverByDays();
  
  int getTodayAppointCountByCreateTime();
  
  List<Map<String, Object>> listAppointByDays(Integer day);
  
  List<Map<String, Object>> listPlanByDays(Integer day);
  
  List<Map<String, Object>> listRouteByDays(Integer day);
  
  List<Map<String, Object>> listSecondDeptByUsers();
  
  List<Map<String, Object>> listAppointCountByDept();
  
  List<Map<String, Object>> listMaxRouteByAppointTop10();
  
  List<Map<String, Object>> listMinRouteByAppointTop10();
  
  List<Map<String, Object>> listMaxUserByAppointTop50();
  
  List<Map<String, Object>> listMaxDriverUserByPlanTop50();
}
